-- GENERATED SPELL FOR [Bonechewer Devastator] --


function spell0_16772(pUnit, Event) --@Snap Kick,n/a--
pUnit:FullCastSpellOnTarget(8646,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16772', 2279, 1)
end

function Sorts_16772(pUnit, Event)
local choix_sorts_16772 = math.random(0, 0)
if choix_sorts_16772 == 0 then
pUnit:RegisterEvent('spell0_16772', 1, 1)
end
end

function mob16772_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16772', math.random(1500, 3000), 1)
end

function mob16772_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16772_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16772_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16772, 1, 'mob16772_Action')
RegisterUnitEvent(16772, 2, 'mob16772_Leave')
RegisterUnitEvent(16772, 3, 'mob16772_Kill')
RegisterUnitEvent(16772, 4, 'mob16772_Die')
